<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Trả lời khảo sát</title>
	
	<!-- Load main style css -->
	<%@ include file="../include-file/main-style.jsp" %>
	
</head>
<body>
	<div class="main-content">
		<!-- Menu bar -->
		<%@ include file="../include-file/header-menu.jsp" %>
	
		<div class="top-right-button">
			<a href="./camp-list" class="btn btn-primary"><div class="button-box">Danh sách khảo sát</div></a>
			<br>
			<br>
			<a href="./quest-create?surveyId=" class="btn btn-warning"><div class="button-box">Trả lời khảo sát tiếp theo</div></a>
		</div>
		<div class="title-text">
			<h3></h3>
		</div>
		<div class="list-itemTemp">
			Kết quả trả lời
			<br>
			<c:forEach var="questAnsList" items="${model.listQuestAnsList}">
			${questAnsList.question.questContent}<br>
				<c:forEach var="answer" items="${questAnsList.answerList }">
					${answer.answerContent}<br>
				</c:forEach>
			</c:forEach>
		</div>
	</div>
	
	<%@ include file="../include-file/footer-script.jsp" %>
	
</body>
</html>